{% extends "/store/layout.twig" %}

{% block html %}
    <h1 class="tac">物品领用申请单</h1>

    <div class="flrc bdbso bdw2 bdc11 padtb3 mart10">
        <div class="flex1">条码</div>
        <div class="flex1">物品名称</div>
        <div class="flex1">物品编码</div>
        <div class="flex1">申请数量</div>
        <div class="flex1">备注说明</div>
    </div>
    {% for item in list %}
        <div class="flrc bdbso bdc11 padtb5">
            <div class="flex1"><img src="{{ root }}/tools/com/barcode?code={{ item.code }}"  alt="条码" style="height: 40px;width: 200px;"></div>
            <div class="flex1">{{ item.text }}</div>
            <div class="flex1">{{ item.code }}</div>
            <div class="flex1">{{ item.num }}</div>
            <div class="flex1">{{ item.usage }}</div>
        </div>
    {% endfor %}
    <div class="padt10 flrc">
        <div class="flex2">制单日期：</div>
        <div class="flex1">制单人：</div>
    </div>
{% endblock %}